package com.ruoyi.statisticalCenter.domain;

import java.math.BigDecimal;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 客户账单核销对象 sc_estimated_cost
 *
 * @author ruoyi
 * @date 2024-03-16
 */
@Data
public class ScEstimatedCost extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /**  */
    @Excel(name = "总科目")
    private String generalAccount;

    /**  */
    @Excel(name = "分类科目")
    private String classifiedAccount;

    /**  */
    @Excel(name = "发件数")
    private String sendCount;

    /**  */
    @Excel(name = "单价")
    private BigDecimal price;

    /**  */
    @Excel(name = "借方")
    private BigDecimal debit;

    /**  */
    @Excel(name = "贷方")
    private BigDecimal credit;

    private String remark;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setGeneralAccount(String generalAccount)
    {
        this.generalAccount = generalAccount;
    }

    public String getGeneralAccount()
    {
        return generalAccount;
    }
    public void setClassifiedAccount(String classifiedAccount)
    {
        this.classifiedAccount = classifiedAccount;
    }

    public String getClassifiedAccount()
    {
        return classifiedAccount;
    }
    public void setSendCount(String sendCount)
    {
        this.sendCount = sendCount;
    }

    public String getSendCount()
    {
        return sendCount;
    }
    public void setPrice(BigDecimal price)
    {
        this.price = price;
    }

    public BigDecimal getPrice()
    {
        return price;
    }
    public void setDebit(BigDecimal debit)
    {
        this.debit = debit;
    }

    public BigDecimal getDebit()
    {
        return debit;
    }
    public void setCredit(BigDecimal credit)
    {
        this.credit = credit;
    }

    public BigDecimal getCredit()
    {
        return credit;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("generalAccount", getGeneralAccount())
            .append("classifiedAccount", getClassifiedAccount())
            .append("sendCount", getSendCount())
            .append("price", getPrice())
            .append("debit", getDebit())
            .append("credit", getCredit())
            .toString();
    }
}
